from appengine_django import models
from google.appengine.ext import db

# Create your models here.

class Accomplishment(models.BaseModel):
    title = db.StringProperty(required = True)
    
    def __unicode__(self):
        return self.title
    
class Profile(models.BaseModel):
    user = db.UserProperty(required = True)
    
    def __unicode__(self):
        return self.user.nickname()